package com.dao;

import com.model.FlightModel;
import java.util.List;

public interface IFlightManageDao {
    List<FlightModel> getFlightList(int offset, int size, String query) throws Exception;
    int getFlightCount(String query) throws Exception;
    FlightModel createFlight(FlightModel flight) throws Exception;
    FlightModel updateFlight(FlightModel flight) throws Exception;
    void deleteFlight(Integer flightId) throws Exception;
    void updateFlightStatus(Integer flightId, String status) throws Exception;
} 